package plenprojects.chatapi;

import java.util.HashMap;
import java.util.Map;

public class ServerMessage {
	
	private Map<String, Object> map = new HashMap<String, Object>();
	
	public void setParameter(String name, Object param) {
		
		map.put(name, param);
	}
	
	public Object getParameter(String name) {
		
		return map.get(name);
	}
	
	public Map<String, Object> getParameters() {
		
		return map;
	}
	
	public void setParameters(Map<String, Object> map) {
		
		this.map = map;
	}
}
